package com.gbei.center.oauth.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @Discription ${在此输入一句话描述此文件的作用}
 * @Author yang jun
 * @Date 2019/5/27 11:22
 */
@ApiModel
@Data
public class AgreeReq {

    @ApiModelProperty(value = "应用ID", required = true)
    @NotBlank(message = "appId 不能为空")
    private String appId;

    @ApiModelProperty(value = "用户授权确认码", required = true)
    @NotBlank(message = "用户授权确认码(flag)不能为空")
    private String flag;
}
